package com.jz;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Created by Hasee on 2022-03-08.
 */
@ConfigurationProperties(value = "student")
@Data
@Component
public class Config {
    private String name;
    private String age;
}
